<!DOCTYPE html>
<html lang="en">

<head>
    <title>表单控件</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        form {
            width: 640px;
            height: 40px;
            border: 1px solid #333;
            margin: auto;
            /* margin: auto; 居中*/
            padding: 15px;
        }

        form input {
            width: 528px; 
            height: 38px;
            border: 1px solid #b8b8b8;
            /* 表单控件点击时的轮廓线去掉 */
            outline: none;
            padding-left:10px;
            float:left;
         }
         form input:focus{
            border-color: #3385ff
         }
         form button{
            width:95px;
            height:40px;
            border: none;
            background-color: #3385ff;
            color: #fff;
            font-size:16px;
            float:left;
         }
         form button:hover{
             /* 鼠标指针变成小手 */
            cursor:pointer;
             /* 鼠标指针变成小手 */
            background: #095edb;
            }
    </style>
</head>

<body>
    <form action="地址位置" method="post">
        <!-- /*menthod 是提交方式*/ -->
        <input type="tsxt">
        <button>百度一下</button>
    </form>
</body>

</html>